package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.ExamintionsMapper;
import com.ruoyi.system.domain.Examintions;
import com.ruoyi.system.service.IExamintionsService;

/**
 * 项目体检Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-05-09
 */
@Service
public class ExamintionsServiceImpl implements IExamintionsService 
{
    @Autowired
    private ExamintionsMapper examintionsMapper;

    /**
     * 查询项目体检
     * 
     * @param exId 项目体检主键
     * @return 项目体检
     */
    @Override
    public Examintions selectExamintionsByExId(Integer exId)
    {
        return examintionsMapper.selectExamintionsByExId(exId);
    }

    /**
     * 查询项目体检列表
     * 
     * @param examintions 项目体检
     * @return 项目体检
     */
    @Override
    public List<Examintions> selectExamintionsList(Examintions examintions)
    {
        return examintionsMapper.selectExamintionsList(examintions);
    }

    /**
     * 新增项目体检
     * 
     * @param examintions 项目体检
     * @return 结果
     */
    @Override
    public int insertExamintions(Examintions examintions)
    {
        return examintionsMapper.insertExamintions(examintions);
    }

    /**
     * 修改项目体检
     * 
     * @param examintions 项目体检
     * @return 结果
     */
    @Override
    public int updateExamintions(Examintions examintions)
    {
        return examintionsMapper.updateExamintions(examintions);
    }

    /**
     * 批量删除项目体检
     * 
     * @param exIds 需要删除的项目体检主键
     * @return 结果
     */
    @Override
    public int deleteExamintionsByExIds(Integer[] exIds)
    {
        return examintionsMapper.deleteExamintionsByExIds(exIds);
    }

    /**
     * 删除项目体检信息
     * 
     * @param exId 项目体检主键
     * @return 结果
     */
    @Override
    public int deleteExamintionsByExId(Integer exId)
    {
        return examintionsMapper.deleteExamintionsByExId(exId);
    }

    @Override
    public List<Examintions> getExamintionsProjectName() {
        return examintionsMapper.getExamintionsProjectName();
    }

}
